<?php defined('NABU') || exit ?>

<h1><?= $head_title ?></h1>

<?php require_once 'views/layouts/messages.php' ?>

<p><mark><?= $subtitle ?>.</mark></p>

<form method="post" action="<?= $view ?>">
  <input type="hidden" name="csrf" value="<?= $token ?>">
  <div>
    <label for="password">Constraseña</label>
    <input type="password" id="password" name="password" minlength="6" maxlength="255" required>
  </div>
  <div>
    <label for="password_confirm">Confirmar contraseña</label>
    <input type="password" id="password_confirm" name="password_confirm" minlength="6" maxlength="255" required>
  </div>
  <div>
    <input type="submit" name="confirm_password_submit" value="Enviar">
  </div>
</form>
